﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 新闻信息
    /// </summary>
    public class News
    {
        private int _id;                            // PK

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }


        private int _adminId;                       // FK   管理员Id

        public int AdminId
        {
            get { return _adminId; }
            set { _adminId = value; }
        }


        private DateTime _publishTime;              // 发布时间

        public DateTime PublishTime
        {
            get { return _publishTime; }
            set { _publishTime = value; }
        }


        private string _pictureUri;                 // 图片本地地址

        public string PictureUri
        {
            get { return _pictureUri; }
            set { _pictureUri = value; }
        }


        private string _notes;                      // 文字标注

        public string Notes
        {
            get { return _notes; }
            set { _notes = value; }
        }


        private string _priority;                   // 新闻优先级

        public string Priority
        {
            get { return _priority; }
            set { _priority = value; }
        }
    }
}
